package com.carrot.newsgallery.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carrot.newsgallery.entity.NewsChild;

import java.util.List;

public interface NewsChildService extends IService<NewsChild> {

    List<NewsChild> getToday(String tablename);

    List<NewsChild> getHistory(String date, int batch, String tablename);
}
